using System.Drawing;
using System.Windows.Forms;

namespace OpenComposite.Base.Designer
{
	[ToolboxBitmap(typeof(Panel))]
	public class DesignerViewPanel : UserControl
	{
		public DesignerViewPanel()
		{
			// Set style to avoid flickering.
			SetStyle(ControlStyles.OptimizedDoubleBuffer |
					 ControlStyles.AllPaintingInWmPaint |
					 ControlStyles.UserPaint, true);
			UpdateStyles();
		}
	}
}
